<template>
  <div class="main">
    <div class="search">
      <span>视频搜索</span>
      <el-input
        placeholder="请输入视频关键词或视频链接"
        v-model="input3"
        class="input-with-select"
      >
        <el-button slot="append" icon="el-icon-search"></el-button>
      </el-input>
    </div>
    <hr style="height: 1px; border: none; border-top: 1px dashed #ececec" />
    <div class="cate">
      <span>商品平台</span>
      <el-radio-group v-model="radio1" size="small">
        <el-radio-button label="全平台"></el-radio-button>
        <el-radio-button label="淘宝"></el-radio-button>
        <el-radio-button label="天猫"></el-radio-button>
        <el-radio-button label="抖音小店"></el-radio-button>
        <el-radio-button label="京东"></el-radio-button>
        <el-radio-button label="考拉"></el-radio-button>
      </el-radio-group>
    </div>
    <hr style="height: 1px; border: none; border-top: 1px dashed #ececec" />
    <div class="cate">
      <span>店铺类型</span>
      <el-radio-group v-model="radio2" size="small">
        <el-radio-button label="全部"></el-radio-button>
        <el-radio-button label="女装"></el-radio-button>
        <el-radio-button label="男装"></el-radio-button>
        <el-radio-button label="鞋子"></el-radio-button>
        <el-radio-button label="箱包"></el-radio-button>
        <el-radio-button label="美妆"></el-radio-button>
        <el-radio-button label="护肤"></el-radio-button>
        <el-radio-button label="生活"></el-radio-button>
        <el-radio-button label="居家"></el-radio-button>
        <el-radio-button label="美食"></el-radio-button>
        <el-radio-button label="运动"></el-radio-button>
        <el-radio-button label="数码"></el-radio-button>
        <el-radio-button label="母婴"></el-radio-button>
        <el-radio-button label="配饰"></el-radio-button>
        <el-radio-button label="其他"></el-radio-button>
      </el-radio-group>
    </div>
    <div class="sel">
      <el-select v-model="value" clearable placeholder="请输入店铺类型">
        <el-option
          v-for="item in options"
          :key="item.value"
          :label="item.label"
          :value="item.value"
        >
        </el-option>
      </el-select>
    </div>
    <hr style="height: 1px; border: none; border-top: 1px dashed #ececec" />
    <div class="time">
      <span>发布时间</span>
      <el-radio-group v-model="radio3">
        <el-radio-button label="全部"></el-radio-button>
        <el-radio-button label="12小时内"></el-radio-button>
        <el-radio-button label="24小时内"></el-radio-button>
        <el-radio-button label="7天内"></el-radio-button>
        <el-radio-button label="30天内"></el-radio-button>
      </el-radio-group>
    </div>
    <hr style="height: 1px; border: none; border-top: 1px dashed #ececec" />
    <div class="btn">
      <button class="btn1"><i class="el-icon-download"></i>导出视频列表</button>
    </div>
    <div class="table">
      <el-table
    :data="tableData"
    border
    style="width: 100%">
    <el-table-column

      prop="date"
      label="排名"
      width="100">
    </el-table-column>
    <el-table-column
      prop="name"
      label="视频内容"
      width="420">
    </el-table-column>
    <el-table-column
      prop="province"
      label="达人"
      width="300">
    </el-table-column>
    <el-table-column
      prop="city"
      label="发表时间"
      width="160"
      style="color:red"
      >
    </el-table-column>
    <el-table-column
      prop="address"
      label="点赞"
      width="120">
    </el-table-column>
    <el-table-column
      prop="zip"
      label="评论"
      width="120">
    </el-table-column>
    <el-table-column
      prop="address"
      label="分享"
      width="120">
    </el-table-column>
    <el-table-column
      prop="address"
      label="转发"
      width="120">
    </el-table-column>
    <el-table-column
      prop="address"
      label="预估播放量"
      width="180">
    </el-table-column>
    
  </el-table>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      input3: "",
      radio1: "全平台",
      radio2: "全部",
      radio3: "全部",
      options:[],
      value:'',
      tableData: [{
          date: '1',
          name: '全网低价。苹果13最低价，粉丝福利大放送',
          province: '李佳琪',
          city: '2022年十月一',
          address: '2999',
          zip: 200333
        }, {
          date: '2',
          name: '全网低价。苹果13最低价，粉丝福利大放送',
          province: '李佳琪',
          city: '2022年十月一',
          address: '643',
          zip: 200333
        }, {
          date: '3',
          name: '全网低价。苹果13最低价，粉丝福利大放送',
          province: '李佳琪',
          city: '2022年十月一',
          address: '782',
          zip: 200333
        }, {
          date: '4',
          name: '全网低价。苹果13最低价，粉丝福利大放送',
          province: '李佳琪',
          city: '2022年十月一',
          address: '881',
          zip: 200333
        }, {
          date: '5',
          name: '全网低价。苹果13最低价，粉丝福利大放送',
          province: '李佳琪',
          city: '2022年十月一',
          address: '3469',
          zip: 200333
        }, {
          date: '6',
          name: '全网低价。苹果13最低价，粉丝福利大放送',
          province: '李佳琪',
          city: '2022年十月一',
          address: '9621',
          zip: 200333
        }, {
          date: '7',
          name: '全网低价。苹果13最低价，粉丝福利大放送',
          province: '李佳琪',
          city: '2022年十月一',
          address: '1399',
          zip: 200333
        }]
    };
  },
};
</script>

<style lang="less" scoped>
  .btn{
    width: 100%;
    position: relative;
    margin: 15px 0;
    .btn1{
      height: 26px;
      width: 120px;
      background: #8351fe;
      position: absolute;
      right: 20px;
      border: 0;
      border-radius: 20px;
      color: #fff;
    }
  }
  
.time {
  margin: 15px 0;
  width: 910px;
  display: flex;
  align-items: center;
  span {
    width: 13%;
    color: #303133;
    font-weight: 700;
    font-size: 14px;
    margin-right: 20px;
  }
  :deep(.el-radio-button__inner) {
    padding: 9px 15px;
  }
  :deep(.el-radio-button__orig-radio:checked + .el-radio-button__inner) {
    background-color: #506eff;
    border: 1px solid #506eff;
  }
}
.table {
  margin-top: 15px;
}
.data {
  width: 55%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 10px;
  border-left: 4px solid #506eff;
  .el-radio-group {
    margin-bottom: 0 !important;
  }
}
.search {
  width: 610px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 15px;
  margin-bottom: 15px;
  span {
    width: 13%;
    color: #303133;
    font-weight: 700;
    font-size: 14px;
    margin-right: 20px;
    margin-left: 30px;
  }
}
.cate {
  width: 910px;
  display: flex;
  align-items: center;
  margin: 15px 0 0 0;
  :deep(.el-radio-button__orig-radio:checked + .el-radio-button__inner) {
    background-color: #506eff;
    display: inline-block;
    height: 32px;
    line-height: 32px;
    margin: 0 12px 6px 0;
    border-radius: 8px;
    padding: 0 6px;
    cursor: pointer;
  }
  span {
    width: 13%;
    color: #303133;
    font-weight: 700;
    font-size: 14px;
  }
  :deep(.el-radio-button--small .el-radio-button__inner) {
    display: inline-block;
    height: 32px;
    line-height: 32px;
    margin: 0 12px 6px 0;
    border-radius: 8px;
    padding: 0 6px;
    cursor: pointer;
    border: 0;
    font-size: 14px;
  }
  :deep(.el-radio-button--small .el-radio-button__inner):hover {
    background-color: #506eff;
    color: #fff;
  }
}
.cate1 {
  width: 910px;
  display: flex;
  align-items: center;

  :deep(.el-radio-button__orig-radio:checked + .el-radio-button__inner) {
    background-color: #506eff;
    display: inline-block;
    height: 32px;
    line-height: 32px;
    margin: 0 12px 6px 0;
    border-radius: 8px;
    padding: 0 6px;
    cursor: pointer;
  }
  span {
    width: 7%;
    color: #303133;
    font-weight: 700;
    font-size: 14px;
  }
  :deep(.el-radio-button--small .el-radio-button__inner) {
    display: inline-block;
    height: 32px;
    line-height: 32px;
    margin: 0 12px 6px 0;
    border-radius: 8px;
    padding: 0 6px;
    cursor: pointer;
    border: 0;
    font-size: 14px;
  }
  :deep(.el-radio-button--small .el-radio-button__inner):hover {
    background-color: #506eff;
    color: #fff;
  }
}
.sel {
  width: 644px;
  margin-bottom: 15px;

  :deep(.el-input__inner) {
    width: 400px;
  }
}
.table{
  color: black;
  margin-top: 60px;
  :deep(.el-table thead){
    color: black;
  }
}
</style>